#ifndef MAPCHUNK_H
#define MAPCHUNK_H

#include <list>
#include "MapObject.h"

struct Vect
{
	int x;
	int y;
	int z;
};

class MapChunk
{
private:
	Vect Key;
	std::list<MapObject*> Contents;
	std::list<MapObject*>::iterator it;

public:
	MapChunk();
	MapChunk(Vect v);
	Vect getKey();
	std::list<MapObject*>::iterator getContents();
	bool isKey(Vect v);
	void AddObject(MapObject* o);
	void RemoveObject(std::list<MapObject*>::iterator it);
};

#endif
